home *** CD-ROM | disk | FTP | other *** search
/ Chip 2003 November / Chip Kasım 2003.iso / prog / openoff / f_0244 / common.jar / text / common / explorer / database / 30000000.xml < prev    next >
Encoding:
Extensible Markup Language  |  2002-01-24  |  20.3 KB  |  196 lines

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <html><head><title>Adabas D Database</title><meta name="filename" content="text/common/explorer/database/30000000"/><meta name="language" content="en-US"/><help:css-file-link xmlns:help="http://openoffice.org/2000/help"/><!--The CSS style header method for setting styles--><style type="text/css">
  3.  
  4.         table.Tabelle3{
  5.                 }
  6.         span.Tabelle3A{
  7.                 width:1.499cm;}
  8.         span.Tabelle3B{
  9.                 width:16.498cm;}
  10.         tr.Tabelle31{
  11.                 }
  12.         td.Tabelle3A1{
  13.                 }
  14.         table.Tabelle1{
  15.                 }
  16.         span.Tabelle1A{
  17.                 width:1.499cm;}
  18.         span.Tabelle1B{
  19.                 width:16.498cm;}
  20.         tr.Tabelle11{
  21.                 }
  22.         td.Tabelle1A1{
  23.                 }
  24.         table.Tabelle2{
  25.                 }
  26.         span.Tabelle2A{
  27.                 width:4.001cm;}
  28.         span.Tabelle2B{
  29.                 width:13.996cm;}
  30.         td.Tabelle2A1{
  31.                 }
  32.         td.Tabelle2B1{
  33.                 border-width:0.002cm; border-style:solid; border-color:#000000;}
  34.         td.Tabelle2A2{
  35.                 }
  36.         td.Tabelle2B2{
  37.                 }
  38.         table.Tabelle5{
  39.                 }
  40.         span.Tabelle5A{
  41.                 width:1.499cm;}
  42.         span.Tabelle5B{
  43.                 width:16.498cm;}
  44.         tr.Tabelle51{
  45.                 }
  46.         td.Tabelle5A1{
  47.                 }
  48.         p.P1{
  49.                 }
  50.         p.P2{
  51.                 }
  52.         p.P3{
  53.                 }
  54.         p.P4{
  55.                 }
  56.         span.T1{
  57.                 font-weight:bold;}
  58.         span.fr1{
  59.                 }
  60.         </style></head><body>
  61.   
  62.   
  63.   <p class="P1"/>
  64.   <p class="Head1"><a name="adabas"/><help:link Id="66189" xmlns:help="http://openoffice.org/2000/help">Adabas D Database</help:link></p>
  65.   <p class="Paragraph">Adabas D, Version 11, is a database that is available in <help:productname xmlns:help="http://openoffice.org/2000/help">%PRODUCTNAME</help:productname> under Windows, Linux and Solaris Sparc.<a name="ende"/> A slightly restricted version is supplied with <help:productname xmlns:help="http://openoffice.org/2000/help">%PRODUCTNAME</help:productname>. You can obtain further information on Adabas, additional help files and ordering options for higher versions from the manufacturer at http://www.adabas.com.</p>
  66.   <help:to-be-embedded Eid="hinweis" xmlns:help="http://openoffice.org/2000/help">
  67.   <table><tr class="Tabelle31"><td class="Tabelle3A1" style="text-align:left;"><span class="Tabelle3A">
  68.      <p class="Paragraph"><draw:image draw:style-name="fr1" draw:name="Grafik2" text:anchor-type="paragraph" svg:width="0.847cm" svg:height="0.847cm" draw:z-index="1" xlink:href="65640" xlink:type="simple" xlink:show="embed" xlink:actuate="onLoad" draw:filter-name="GIF - Graphics Interchange" xmlns:draw="http://openoffice.org/2000/drawing" xmlns:text="http://openoffice.org/2000/text" xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"/></p>
  69.     </span></td><td class="Tabelle3A1" style="text-align:left;"><span class="Tabelle3B">
  70.      <p class="Paragraph">The Adabas database server must be attainable if you want to work with an Adabas database. If you are not accessing an Adabas database server located on the network, but working with a stand-alone computer you first need to install the Adabas database server and start it. The Adabas database server supplied with <help:productname>%PRODUCTNAME</help:productname> can be installed by using the appropriate separate installation program.</p>
  71.      <p class="Paragraph">The Setup program for installing Adabas D automatically starts after the <help:productname>%PRODUCTNAME</help:productname> Setup program as long as you run a stand-alone installation. Read the Installation's Guide for more information on the Adabas installation</p>
  72.     </span></td></tr></table>
  73.   </help:to-be-embedded>
  74.   <p class="Head2">Properties of the <help:productname xmlns:help="http://openoffice.org/2000/help">%PRODUCTNAME</help:productname> version of Adabas</p>
  75.   <p class="Paragraph">Adabas D Version 11, supplied with <help:productname xmlns:help="http://openoffice.org/2000/help">%PRODUCTNAME</help:productname>, is restricted to a maximum size of 100 MB databases. When the database is being used in a network, a maximum of three users will be able to access the database simultaneously. Further information can be found in the License.txt file located in your Adabas directory after the installation has been completed. Adabas is available in both, the standard installation and the customized installation in the Setup program of <help:productname xmlns:help="http://openoffice.org/2000/help">%PRODUCTNAME</help:productname>. It is also possible to deselect the installation of Adabas in the customized setup of <help:productname xmlns:help="http://openoffice.org/2000/help">%PRODUCTNAME</help:productname>. Adabas should not be installed in the <help:productname xmlns:help="http://openoffice.org/2000/help">%PRODUCTNAME</help:productname> directory but in one directory of its own. Adabas and <help:productname xmlns:help="http://openoffice.org/2000/help">%PRODUCTNAME</help:productname> can be separately deinstalled if required.</p>
  76.   <p class="Paragraph">The DBROOT environment variable will be set during the installation among some other things. This variable refers to the directory where Adabas has been installed. This happens under Windows 9x through command lines in the Start file Autoexec.bat. You will therefore have to restart your computer before using Adabas for the first time.</p>
  77.   <table><tr class="Tabelle11"><td class="Tabelle1A1" style="text-align:left;"><span class="Tabelle1A">
  78.      <p class="Paragraph"><draw:image draw:style-name="fr1" draw:name="Grafik1" text:anchor-type="paragraph" svg:width="0.847cm" svg:height="0.847cm" draw:z-index="0" xlink:href="65980" xlink:type="simple" xlink:show="embed" xlink:actuate="onLoad" draw:filter-name="GIF - Graphics Interchange" xmlns:draw="http://openoffice.org/2000/drawing" xmlns:text="http://openoffice.org/2000/text" xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"/></p>
  79.     </span></td><td class="Tabelle1A1" style="text-align:left;"><span class="Tabelle1B">
  80.      <p class="Paragraph">If the environment variable DBROOT is found at the time of installation Adabas will not be offered for installation as the setup program assumes that Adabas has already been installed.</p>
  81.     </span></td></tr></table>
  82.   <p class="Head2"/>
  83.   <p class="Paragraph">You can enter and edit your data in the database with the help of <help:productname xmlns:help="http://openoffice.org/2000/help">%PRODUCTNAME</help:productname> or use SQL commands to control the database. <text:s text:c="" xmlns:text="http://openoffice.org/2000/text"/>In <help:productname xmlns:help="http://openoffice.org/2000/help">%PRODUCTNAME</help:productname> Adabas supports the commands in accordance with the SQL92 standard.</p>
  84.   <help:embedded Id="66162" Eid="sqlsyntax" xmlns:help="http://openoffice.org/2000/help"/>
  85.   <p class="Head2">The performance values of Adabas D in <help:productname xmlns:help="http://openoffice.org/2000/help">%PRODUCTNAME</help:productname></p>
  86.   <p class="Paragraph"><help:productname xmlns:help="http://openoffice.org/2000/help">%PRODUCTNAME</help:productname> can access an Adabas D database if the latter has a version number 11.02 or higher.</p>
  87.   <p class="Paragraph">The following values apply to the Adabas D version 11 under <help:productname xmlns:help="http://openoffice.org/2000/help">%PRODUCTNAME</help:productname>:</p>
  88.   <p class="Paragraph">Restricted to a max. of <text:s text:c="" xmlns:text="http://openoffice.org/2000/text"/>100 MB and 3 users per database.</p>
  89.   <p class="Paragraph">Adabas D supports the following <span class="T1">data types</span>:</p>
  90.   <table border="1" bordercolor="#000000" cellpadding="2" cellspacing="0" page-break-inside="page-break-inside:avoid"><tr class=""><th class="Tabelle2A1" style="text-align:left;"><span class="Tabelle2A">
  91.       <p class="P2">Data type</p>
  92.      </span></th><th class="Tabelle2B1" style="text-align:left;"><span class="Tabelle2B">
  93.       <p class="P2">Content</p>
  94.      </span></th></tr><tr class=""><td class="Tabelle2A2" style="text-align:left;"><span class="Tabelle2A">
  95.      <p class="Paragraph">CHAR (N) N <= 254</p>
  96.     </span></td><td class="Tabelle2B2" style="text-align:left;"><span class="Tabelle2B">
  97.      <p class="Paragraph">Character string in ASCII or EBCDIC Code or as BYTE.</p>
  98.     </span></td></tr><tr class=""><td class="Tabelle2A2" style="text-align:left;"><span class="Tabelle2A">
  99.      <p class="Paragraph">VARCHAR (N) N <= 254</p>
  100.     </span></td><td class="Tabelle2B2" style="text-align:left;"><span class="Tabelle2B">
  101.      <p class="Paragraph">The internal filing of CHAR values is carried out up to a length of 30 in a fixed format. Larger CHAR values are always saved internally with a variable length representation. CHAR values with a length of less than 30 can also be kept in a variable length representation by entering the data type VARCHAR.</p>
  102.     </span></td></tr><tr class=""><td class="Tabelle2A2" style="text-align:left;"><span class="Tabelle2A">
  103.      <p class="Paragraph">BOOLEAN</p>
  104.     </span></td><td class="Tabelle2B2" style="text-align:left;"><span class="Tabelle2B">
  105.      <p class="Paragraph">For differentiating between "existent/non-existent" or "true/false".</p>
  106.     </span></td></tr><tr class=""><td class="Tabelle2A2" style="text-align:left;"><span class="Tabelle2A">
  107.      <p class="Paragraph">DATE</p>
  108.     </span></td><td class="Tabelle2B2" style="text-align:left;"><span class="Tabelle2B">
  109.      <p class="Paragraph">The internal format used is YYYYMMDD. The external representation can be configured.</p>
  110.     </span></td></tr><tr class=""><td class="Tabelle2A2" style="text-align:left;"><span class="Tabelle2A">
  111.      <p class="Paragraph">TIME</p>
  112.     </span></td><td class="Tabelle2B2" style="text-align:left;"><span class="Tabelle2B">
  113.      <p class="Paragraph">TIME values are stored internally in the form HHMMSS. The external representation can be configured in a similar way as the the DATE values. DATE and TIME values are special CHAR values. This means that not only the date and time functions but also all functions can be used on CHAR values.</p>
  114.     </span></td></tr><tr class=""><td class="Tabelle2A2" style="text-align:left;"><span class="Tabelle2A">
  115.      <p class="Paragraph">TIMESTAMP</p>
  116.     </span></td><td class="Tabelle2B2" style="text-align:left;"><span class="Tabelle2B">
  117.      <p class="Paragraph">TIMESTAMP values are always internally stored in the YYYYMMDDHHMMSSmmmuuu format. These are a combination of a DATE and a TIME value and have been enhanced with the values for milliseconds and microseconds. As well as being used as a time stamp the TIMESTAMP values can also be used for time arithmetic, as day overflows do not need to be handled by the user. TIMESTAMP values are special CHAR values. This means that they can also be used on all CHAR values and not just in date and time functions.</p>
  118.     </span></td></tr><tr class=""><td class="Tabelle2A2" style="text-align:left;"><span class="Tabelle2A">
  119.      <p class="Paragraph">FIXED (N,M)</p>
  120.     </span></td><td class="Tabelle2B2" style="text-align:left;"><span class="Tabelle2B">
  121.      <p class="Paragraph">There is a decimal fixed comma representation with a maximum of 18 characters for numerical values.</p>
  122.     </span></td></tr><tr class=""><td class="Tabelle2A2" style="text-align:left;"><span class="Tabelle2A">
  123.      <p class="Paragraph">FLOAT (N)</p>
  124.     </span></td><td class="Tabelle2B2" style="text-align:left;"><span class="Tabelle2B">
  125.      <p class="Paragraph">A decimal floating point representation with a maximum accuracy of 18 characters is also available.</p>
  126.     </span></td></tr><tr class=""><td class="Tabelle2A2" style="text-align:left;"><span class="Tabelle2A">
  127.      <p class="Paragraph">LONG</p>
  128.     </span></td><td class="Tabelle2B2" style="text-align:left;"><span class="Tabelle2B">
  129.      <p class="Paragraph">For saving unformatted data (BLOBs) Adabas offers the data type LONG which can take up to 2.1 GB of data per column. Not only is CHAR columns supported but also the variants ASCII, EBCDIC and BYTE. This means that Adabas is able to manage extensive information in text, graphics or speech form in the appropriate way.</p>
  130.     </span></td></tr></table>
  131.   <p class="Paragraph">The additonal data types existing in other SQLMODEs are understood by Adabas and are mapped to the data types listed above.</p>
  132.   <p class="Head2"><help:key-word value="Creating a New Adabas Database" tag="kw66189_1" xmlns:help="http://openoffice.org/2000/help"/>Creating a New Adabas Database</p>
  133.   <p class="Paragraph">Use the <help:link Id="66186" xmlns:help="http://openoffice.org/2000/help"><span class="T1">Create New Adabas Database</span></help:link> dialog to create a new Adabas database. You can call up this dialog in the following way, for example:</p>
  134.   <ul class="L1">
  135.    <li class="">
  136.     <p class="P3">Choose <span class="T1">Tools - Data source</span> to open the <span class="T1">Administrate Data Sources</span> dialog. In the <span class="T1">Database type</span> field select the "Adabas" database type. Click the <span class="T1">New database</span> button.</p>
  137.    </li>
  138.   </ul>
  139.   <p class="Paragraph"><help:productname xmlns:help="http://openoffice.org/2000/help">%PRODUCTNAME</help:productname> has already filled a lot of fields in the dialog with values so that you usually only have to enter the name of the database and the name and password of the Administrator. These three details are, however, imperative.</p>
  140.   <p class="Head2"><help:key-word value="Deleting an Adabas Database" tag="kw66189_2" xmlns:help="http://openoffice.org/2000/help"/>Deleting an Adabas Database</p>
  141.   <p class="Paragraph">If you delete the database entry in <help:productname xmlns:help="http://openoffice.org/2000/help">%PRODUCTNAME</help:productname>, you only delete the access to the data from <help:productname xmlns:help="http://openoffice.org/2000/help">%PRODUCTNAME</help:productname>. The "actual" files of the database remain intact. To really delete all the files proceed as follows:</p>
  142.   <ul class="L2">
  143.    <li class="">
  144.     <p class="P4">First, find out the name of the database. This is not necessarily the name of the entry. Open the context menu and choose <span class="T1">Properties</span>. The name of the database is in the <span class="T1">Data Source</span> field on the <span class="T1">Type</span> tab.</p>
  145.    </li>
  146.    <li class="">
  147.     <p class="P4">Determine which directories are referred to by the system variables DBCONFIG and DBWORK. <help:switch select="System" xmlns:help="http://openoffice.org/2000/help"><help:case select="WIN">Under Windows these variables are defined in the c:\Autoexec.bat file.</help:case></help:switch><help:switch select="System" xmlns:help="http://openoffice.org/2000/help"><help:case select="UNIX"> Under Unix these variables are defined in a Start script.</help:case></help:switch></p>
  148.    </li>
  149.    <li class="">
  150.     <p class="P4">Delete the three files with the database name in the $DBCONFIG$ directory. If you have named the database TEST for example, you would delete the following three files: C:\Adabas\Sql\Test.sys, Test.trs and Test.dat.</p>
  151.    </li>
  152.    <li class="">
  153.     <p class="P4">Delete a file that has the same name as the database in the directory $DBCONFIG$\Config. If you have named the database TEST for example, you would delete the file: C:\Adabas\Sql\Config\Test.</p>
  154.    </li>
  155.    <li class="">
  156.     <p class="P4">Delete an entire directory with the name of the database in the $DBWORKS$\Wrk directory. If you have named your database TEST for example, you would delete the directory C:\Adabas\Sql\Wrk\Test.</p>
  157.    </li>
  158.    <li class="">
  159.     <p class="P4">Make sure that you only delete those files or directories where their name corresponds to that of the database.</p>
  160.    </li>
  161.   </ul>
  162.   <p class="Head2">Starting and Closing an Adabas Database</p>
  163.   <p class="PropText">strt -d <DBNAME> -NoDBWindow ? NoDBService</p>
  164.   <p class="Paragraph">switches the database to COLD.</p>
  165.   <p class="PropText">xutil -d <DBNAME> -u <CONTROLUSER>,<CONTROLPASSWORD> shutdown</p>
  166.   <p class="Paragraph">switches the database to COLD.</p>
  167.   <p class="PropText">xutil -d <DBNAME> -u <CONTROLUSER>,<CONTROLPASSWORD> restart</p>
  168.   <p class="Paragraph">switches the database to WARM.</p>
  169.   <p class="PropText">stp -d <DBNAME> -NoDBService</p>
  170.   <p class="Paragraph">completely shuts down the database</p>
  171.   <p class="Head2">Error Messages in an Adabas Database</p>
  172.   <p class="Paragraph">Here are the error messages that might occur while working with Adabas D.</p>
  173.   <p class="Head3">The database cannot be shut down / restarted as a user is still connected to it.</p>
  174.   <p class="Paragraph">Close any other open tasks that show the database contents. With multi-user systems, you should prompt all users to leave the database. If that does not help either, you need to close <help:productname xmlns:help="http://openoffice.org/2000/help">%PRODUCTNAME</help:productname> and restart.</p>
  175.   <p class="Head3">Client unable to establish connection; -813 SERVERDB MUST BE RESTARTED</p>
  176.   <p class="Paragraph">This error occurs if you try to access an Adabas D database which hasn't been started. Normally, an Adabas D database will be started automatically when you access it with <help:productname xmlns:help="http://openoffice.org/2000/help">%PRODUCTNAME</help:productname> for the first time. The Control user in the Properties of the database must be however entered. The Control user will be defined when setting up the database.</p>
  177.   <p class="Head3">Client unable to establish connection; -8022 USER ALREADY CONNECTED</p>
  178.   <p class="Paragraph">This error occurs if you try to access an Adabas D database, but the same user is already linked to the database.</p>
  179.   <p class="Head3">Errors occurring when writing the data in the database</p>
  180.   <p class="Paragraph">"The database properties cannot be modified as the database is still in use". <text:s text:c="" xmlns:text="http://openoffice.org/2000/text"/>If an error message like this appears, you must close and restart <help:productname xmlns:help="http://openoffice.org/2000/help">%PRODUCTNAME</help:productname>. Then immediately change the database properties.</p>
  181.   <p class="Head2"><a name="remote"/>Adabas Server in the Network</p>
  182.   <p class="Paragraph">The Adabas Server runs on a network computer in the shared database applications in a network, whereas only the Adabas Client runs on the Workstations.</p>
  183.   <p class="Head3">Remote Connection</p>
  184.   <p class="Paragraph">To enable a Remote connection, the support program xtcpupd.exe has to be run on both computers (Client and Server). The xtcpupd.exe program only exists under Windows.</p>
  185.   <p class="Paragraph">The program x_server from the <help:switch select="System" xmlns:help="http://openoffice.org/2000/help"><help:case select="UNIX">adabas\bin</help:case><help:default>Adabas\bin</help:default></help:switch> directory has to be started on the server (all platforms).</p>
  186.   <p class="Paragraph">Register a remote connection as a new Adabas database. In the <span class="T1">Data source</span> text box, enter the name of the external computer, a colon and the name of the external database, e.g. computername: database. On the <span class="T1">Adabas D</span> tab page enter user name and password and click OK. Now you can use the remote database.</p>
  187.   <table><tr class="Tabelle51"><td class="Tabelle5A1" style="text-align:left;"><span class="Tabelle5A">
  188.      <p class="Paragraph"><draw:image draw:style-name="fr1" draw:name="Grafik4" text:anchor-type="paragraph" svg:width="0.847cm" svg:height="0.847cm" draw:z-index="2" xlink:href="65640" xlink:type="simple" xlink:show="embed" xlink:actuate="onLoad" draw:filter-name="GIF - Graphics Interchange" xmlns:draw="http://openoffice.org/2000/drawing" xmlns:text="http://openoffice.org/2000/text" xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"/></p>
  189.     </span></td><td class="Tabelle5A1" style="text-align:left;"><span class="Tabelle5B">
  190.      <p class="Paragraph">If you create a new database on a Remote Server, there are two possibilities:</p>
  191.      <p class="Paragraph">You could install a <help:productname xmlns:help="http://openoffice.org/2000/help">%PRODUCTNAME</help:productname> on the Remote Server and create the new database locally or,</p>
  192.      <p class="Paragraph">use the Adabas Tools for creating a new Adabas database on the Server.</p>
  193.      <p class="Paragraph">It is not possible to create the new database from a <help:productname xmlns:help="http://openoffice.org/2000/help">%PRODUCTNAME</help:productname> Client.</p>
  194.     </span></td></tr></table>
  195.   <p class="Paragraph"/>
  196.  </body></html>